package com.powernode.constant;

import java.util.Arrays;
import java.util.List;

public interface GatewayConstant {

    List<String> ALLOW_URLS = Arrays.asList("/oauth/token");

    String AUTHORIZATION = "Authorization";

    String BEARER = "bearer";

    String OAUTH_TOKEN_PREFIX = "oauth:jwt:";

    String UNAUTHORIZED_MSG = "未授权";

    /**
     * 授权路径
     */
    String OAUTH_PATH = "/oauth/token";

    String ACCESS_TOKEN = "access_token";

    /**
     * 过期时间
     */
    String EXPIRES_IN = "expires_in";

}
